package com.bank.trade_records.cun_money.service;

import com.bank.trade_records.cun_money.entity.CunMoney;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

public interface CunMoneyService {
    CunMoney getCunMoneyById(Long id);

    boolean addCunMoney(CunMoney cunMoney);

    boolean updateCunMoney(CunMoney cunMoney);

    boolean deleteCunMoneyById(Long id);

    List<CunMoney> getAllCunMoneys();

    boolean batchInsert(List<CunMoney> cunMoneyList);

    Page<CunMoney> getCunMoneyPage(Page<CunMoney> cunMoneyPage);

    List< Object> getDailyTransactionAmounts();
    List<CunMoney> getCunMoneyListByAccountId(long accountId);
    // 其他业务方法...
}
